
#pragma once

struct AllocContextSettings;

/*
 * applies default settings to the settings structure. If certain setting's value is not
 * zero, default value will not be applied.
 */
void
apply_default_settings( struct AllocContextSettings * settings );


/*
 * used to grow buffer within IdArr
 */
#define QL_ID_ARR_GROW_SIZE         1024

/*
 * used to grow literals buffer - LitArr
 */
#define QL_LITERALS_ARR_GROW_SIZE   4096

/*
 * used to determine list chunk size (each chunk contains X elements, where X is
 * the bits count per each unsigned integer number - 32 on x86)
 */
#define QL_LIST_CHUNKS_ALLOC_SIZE   128

/*
 * used to determine chunk size used in atoms array
 */
#define QL_ATOM_CHUNKS_GROW_SIZE    4096

